// 自动化任务规则类型选择
const treeSelectData = [{
	"id": 4,
	"name": "定时",
	"imgPath": "../../static/2.png",
	"children": [{
		"id": 1,
		"name": "单次执行",
		"activePath": "https://www.aizyiot.cn/home/file/base/69.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/69.png"
	}, {
		"id": 2,
		"name": "重复执行",
		"activePath": "https://www.aizyiot.cn/home/file/base/87.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/87.png"
	}, {
		"id": 3,
		"name": "时间段执行",
		"activePath": "https://www.aizyiot.cn/home/file/base/81.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/81.png"
	}]
}, {
	"id": 5,
	"name": "天气",
	"imgPath": "../../static/2.png",
	"children": [{
		"id": 1,
		"name": "温度",
		"activePath": "https://www.aizyiot.cn/home/file/base/85.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/85.png"
	}, {
		"id": 2,
		"name": "湿度",
		"activePath": "https://www.aizyiot.cn/home/file/base/79.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/79.png"
	}, {
		"id": 3,
		"name": "天气",
		"activePath": "https://www.aizyiot.cn/home/file/base/83.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/83.png"
	}, {
		"id": 4,
		"name": "PM2.5",
		"activePath": "https://www.aizyiot.cn/home/file/base/67.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/67.png"
	}, {
		"id": 5,
		"name": "空气质量",
		"activePath": "https://www.aizyiot.cn/home/file/base/73.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/73.png"
	}, {
		"id": 6,
		"name": "日出日落",
		"activePath": "https://www.aizyiot.cn/home/file/base/77.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/77.png"
	}, {
		"id": 7,
		"name": "风速",
		"activePath": "https://www.aizyiot.cn/home/file/base/71.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/71.png"
	}]
}, {
	"id": 3,
	"name": "设备变化",
	"imgPath": "../../static/1.png",
	"children": [{
		"id": 1,
		"name": "大于X的值",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}, {
		"id": 2,
		"name": "小于X的值",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}, {
		"id": 3,
		"name": "大于等于X的值",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}, {
		"id": 4,
		"name": "小于等于X的值",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}, {
		"id": 5,
		"name": "等于X的值",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}, {
		"id": 6,
		"name": "不等于X的值",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}, {
		"id": 7,
		"name": "介于X~Y之间",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}, {
		"id": 8,
		"name": "不介于X~Y之间",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}, {
		"id": 9,
		"name": "无数据",
		"activePath": "https://www.aizyiot.cn/home/file/base/89.png",
		"imgPath": "https://www.aizyiot.cn/home/file/base/89.png"
	}]
}];


// 执行动作下拉框
const actionList = [{
	"name": '延时',
	"value": 1,
	"imgPath": "https://www.aizyiot.cn/home/file/base/90.png"
}, {
	"name": '开关控制',
	"value": 2,
	"imgPath": "https://www.aizyiot.cn/home/file/base/91.png"
}, {
	"name": '自动化启用停用',
	"value": 3,
	"imgPath": "https://www.aizyiot.cn/home/file/base/92.png"
}, {
	"name": '一键执行启用',
	"value": 4,
	"imgPath": "https://www.aizyiot.cn/home/file/base/93.png"
}];



// 联控开关数组
const JointControlDeviceActionList = [{
	"name": "开",
	"value": 1
}, {
	"name": "关",
	"value": 0
}, {
	"name": "反转",
	"value": 2
}];




// 大于、 小于 、 等于
const comparisonOptions = [{
	name: '大于',
	value: 1
}, {
	name: '小于',
	value: 2
}, {
	name: '等于',
	value: 3
}];



// 湿度选择数组
const humidnessList = [{
	name: '干燥',
	value: 1
}, {
	name: '舒适',
	value: 2
}, {
	name: '潮湿',
	value: 3
}];



// 天气选择数组
const weatherList = [{
	name: '晴',
	value: 1
}, {
	name: '阴',
	value: 2
}, {
	name: '雨',
	value: 3
}, {
	name: '雪',
	value: 4
}, {
	name: '霾',
	value: 5
}, {
	name: '多云',
	value: 6
}];



// 空气质量数组
const airQualityOptions = [{
	name: '优',
	value: 1
}, {
	name: '良',
	value: 2
}, {
	name: '污染',
	value: 3
}];



// 日出日落数组
const sunriseSunsetList = [{
	name: '日出',
	value: 1
}, {
	name: '日落',
	value: 2
}];





module.exports = {
	treeSelectData: treeSelectData,
	actionList: actionList,
	JointControlDeviceActionList: JointControlDeviceActionList,
	comparisonOptions: comparisonOptions,
	humidnessList: humidnessList,
	weatherList: weatherList,
	airQualityOptions: airQualityOptions,
	sunriseSunsetList: sunriseSunsetList,
}